package com.yanghang.service.impl;

import com.yanghang.dao.ComputerDao;
import com.yanghang.entity.Computer;
import com.yanghang.service.ComputerService;

import java.util.List;

public class ComputerServiceImpl implements ComputerService {
    private ComputerDao cd;

    public ComputerDao getCd() {
        return cd;
    }

    public void setCd(ComputerDao cd) {
        this.cd = cd;
    }

    @Override
    public List<Computer> selectComputerByBrandId(Integer bid) {
        return cd.selectComputerByBrandId(bid);
    }
}
